package com.ouheng.shop.dao;

import com.ouheng.shop.domain.ProductGroupDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 商品分组
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-08-20 16:40:56
 */
@Mapper
public interface ProductGroupDao {

	ProductGroupDO get(Long id);
	
	List<ProductGroupDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(ProductGroupDO productGroup);
	
	int update(ProductGroupDO productGroup);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
	
	int getGroupProduct(Long proId);
}
